package com.lebang.example;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;

public class CencesOutlayExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public CencesOutlayExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(LocalDate value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(LocalDate value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(LocalDate value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(LocalDate value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(LocalDate value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(LocalDate value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<LocalDate> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<LocalDate> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(LocalDate value1, LocalDate value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(LocalDate value1, LocalDate value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andTimeIsNull() {
            addCriterion("`time` is null");
            return (Criteria) this;
        }

        public Criteria andTimeIsNotNull() {
            addCriterion("`time` is not null");
            return (Criteria) this;
        }

        public Criteria andTimeEqualTo(Integer value) {
            addCriterion("`time` =", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotEqualTo(Integer value) {
            addCriterion("`time` <>", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThan(Integer value) {
            addCriterion("`time` >", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("`time` >=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThan(Integer value) {
            addCriterion("`time` <", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThanOrEqualTo(Integer value) {
            addCriterion("`time` <=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeIn(List<Integer> values) {
            addCriterion("`time` in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotIn(List<Integer> values) {
            addCriterion("`time` not in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeBetween(Integer value1, Integer value2) {
            addCriterion("`time` between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("`time` not between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andBrandIsNull() {
            addCriterion("brand is null");
            return (Criteria) this;
        }

        public Criteria andBrandIsNotNull() {
            addCriterion("brand is not null");
            return (Criteria) this;
        }

        public Criteria andBrandEqualTo(String value) {
            addCriterion("brand =", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotEqualTo(String value) {
            addCriterion("brand <>", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandGreaterThan(String value) {
            addCriterion("brand >", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandGreaterThanOrEqualTo(String value) {
            addCriterion("brand >=", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLessThan(String value) {
            addCriterion("brand <", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLessThanOrEqualTo(String value) {
            addCriterion("brand <=", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLike(String value) {
            addCriterion("brand like", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotLike(String value) {
            addCriterion("brand not like", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandIn(List<String> values) {
            addCriterion("brand in", values, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotIn(List<String> values) {
            addCriterion("brand not in", values, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandBetween(String value1, String value2) {
            addCriterion("brand between", value1, value2, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotBetween(String value1, String value2) {
            addCriterion("brand not between", value1, value2, "brand");
            return (Criteria) this;
        }

        public Criteria andCategoryIsNull() {
            addCriterion("category is null");
            return (Criteria) this;
        }

        public Criteria andCategoryIsNotNull() {
            addCriterion("category is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryEqualTo(Integer value) {
            addCriterion("category =", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotEqualTo(Integer value) {
            addCriterion("category <>", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryGreaterThan(Integer value) {
            addCriterion("category >", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryGreaterThanOrEqualTo(Integer value) {
            addCriterion("category >=", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryLessThan(Integer value) {
            addCriterion("category <", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryLessThanOrEqualTo(Integer value) {
            addCriterion("category <=", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryIn(List<Integer> values) {
            addCriterion("category in", values, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotIn(List<Integer> values) {
            addCriterion("category not in", values, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryBetween(Integer value1, Integer value2) {
            addCriterion("category between", value1, value2, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotBetween(Integer value1, Integer value2) {
            addCriterion("category not between", value1, value2, "category");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("`type` is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("`type` is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("`type` =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("`type` <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("`type` >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("`type` >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("`type` <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("`type` <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("`type` in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("`type` not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("`type` between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("`type` not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andNewhandMoneyIsNull() {
            addCriterion("newhand_money is null");
            return (Criteria) this;
        }

        public Criteria andNewhandMoneyIsNotNull() {
            addCriterion("newhand_money is not null");
            return (Criteria) this;
        }

        public Criteria andNewhandMoneyEqualTo(BigDecimal value) {
            addCriterion("newhand_money =", value, "newhandMoney");
            return (Criteria) this;
        }

        public Criteria andNewhandMoneyNotEqualTo(BigDecimal value) {
            addCriterion("newhand_money <>", value, "newhandMoney");
            return (Criteria) this;
        }

        public Criteria andNewhandMoneyGreaterThan(BigDecimal value) {
            addCriterion("newhand_money >", value, "newhandMoney");
            return (Criteria) this;
        }

        public Criteria andNewhandMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("newhand_money >=", value, "newhandMoney");
            return (Criteria) this;
        }

        public Criteria andNewhandMoneyLessThan(BigDecimal value) {
            addCriterion("newhand_money <", value, "newhandMoney");
            return (Criteria) this;
        }

        public Criteria andNewhandMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("newhand_money <=", value, "newhandMoney");
            return (Criteria) this;
        }

        public Criteria andNewhandMoneyIn(List<BigDecimal> values) {
            addCriterion("newhand_money in", values, "newhandMoney");
            return (Criteria) this;
        }

        public Criteria andNewhandMoneyNotIn(List<BigDecimal> values) {
            addCriterion("newhand_money not in", values, "newhandMoney");
            return (Criteria) this;
        }

        public Criteria andNewhandMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("newhand_money between", value1, value2, "newhandMoney");
            return (Criteria) this;
        }

        public Criteria andNewhandMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("newhand_money not between", value1, value2, "newhandMoney");
            return (Criteria) this;
        }

        public Criteria andRecordMoneyIsNull() {
            addCriterion("record_money is null");
            return (Criteria) this;
        }

        public Criteria andRecordMoneyIsNotNull() {
            addCriterion("record_money is not null");
            return (Criteria) this;
        }

        public Criteria andRecordMoneyEqualTo(BigDecimal value) {
            addCriterion("record_money =", value, "recordMoney");
            return (Criteria) this;
        }

        public Criteria andRecordMoneyNotEqualTo(BigDecimal value) {
            addCriterion("record_money <>", value, "recordMoney");
            return (Criteria) this;
        }

        public Criteria andRecordMoneyGreaterThan(BigDecimal value) {
            addCriterion("record_money >", value, "recordMoney");
            return (Criteria) this;
        }

        public Criteria andRecordMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("record_money >=", value, "recordMoney");
            return (Criteria) this;
        }

        public Criteria andRecordMoneyLessThan(BigDecimal value) {
            addCriterion("record_money <", value, "recordMoney");
            return (Criteria) this;
        }

        public Criteria andRecordMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("record_money <=", value, "recordMoney");
            return (Criteria) this;
        }

        public Criteria andRecordMoneyIn(List<BigDecimal> values) {
            addCriterion("record_money in", values, "recordMoney");
            return (Criteria) this;
        }

        public Criteria andRecordMoneyNotIn(List<BigDecimal> values) {
            addCriterion("record_money not in", values, "recordMoney");
            return (Criteria) this;
        }

        public Criteria andRecordMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("record_money between", value1, value2, "recordMoney");
            return (Criteria) this;
        }

        public Criteria andRecordMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("record_money not between", value1, value2, "recordMoney");
            return (Criteria) this;
        }

        public Criteria andSdkMoneyIsNull() {
            addCriterion("sdk_money is null");
            return (Criteria) this;
        }

        public Criteria andSdkMoneyIsNotNull() {
            addCriterion("sdk_money is not null");
            return (Criteria) this;
        }

        public Criteria andSdkMoneyEqualTo(BigDecimal value) {
            addCriterion("sdk_money =", value, "sdkMoney");
            return (Criteria) this;
        }

        public Criteria andSdkMoneyNotEqualTo(BigDecimal value) {
            addCriterion("sdk_money <>", value, "sdkMoney");
            return (Criteria) this;
        }

        public Criteria andSdkMoneyGreaterThan(BigDecimal value) {
            addCriterion("sdk_money >", value, "sdkMoney");
            return (Criteria) this;
        }

        public Criteria andSdkMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sdk_money >=", value, "sdkMoney");
            return (Criteria) this;
        }

        public Criteria andSdkMoneyLessThan(BigDecimal value) {
            addCriterion("sdk_money <", value, "sdkMoney");
            return (Criteria) this;
        }

        public Criteria andSdkMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sdk_money <=", value, "sdkMoney");
            return (Criteria) this;
        }

        public Criteria andSdkMoneyIn(List<BigDecimal> values) {
            addCriterion("sdk_money in", values, "sdkMoney");
            return (Criteria) this;
        }

        public Criteria andSdkMoneyNotIn(List<BigDecimal> values) {
            addCriterion("sdk_money not in", values, "sdkMoney");
            return (Criteria) this;
        }

        public Criteria andSdkMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sdk_money between", value1, value2, "sdkMoney");
            return (Criteria) this;
        }

        public Criteria andSdkMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sdk_money not between", value1, value2, "sdkMoney");
            return (Criteria) this;
        }

        public Criteria andEarnMoneyIsNull() {
            addCriterion("earn_money is null");
            return (Criteria) this;
        }

        public Criteria andEarnMoneyIsNotNull() {
            addCriterion("earn_money is not null");
            return (Criteria) this;
        }

        public Criteria andEarnMoneyEqualTo(BigDecimal value) {
            addCriterion("earn_money =", value, "earnMoney");
            return (Criteria) this;
        }

        public Criteria andEarnMoneyNotEqualTo(BigDecimal value) {
            addCriterion("earn_money <>", value, "earnMoney");
            return (Criteria) this;
        }

        public Criteria andEarnMoneyGreaterThan(BigDecimal value) {
            addCriterion("earn_money >", value, "earnMoney");
            return (Criteria) this;
        }

        public Criteria andEarnMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("earn_money >=", value, "earnMoney");
            return (Criteria) this;
        }

        public Criteria andEarnMoneyLessThan(BigDecimal value) {
            addCriterion("earn_money <", value, "earnMoney");
            return (Criteria) this;
        }

        public Criteria andEarnMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("earn_money <=", value, "earnMoney");
            return (Criteria) this;
        }

        public Criteria andEarnMoneyIn(List<BigDecimal> values) {
            addCriterion("earn_money in", values, "earnMoney");
            return (Criteria) this;
        }

        public Criteria andEarnMoneyNotIn(List<BigDecimal> values) {
            addCriterion("earn_money not in", values, "earnMoney");
            return (Criteria) this;
        }

        public Criteria andEarnMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("earn_money between", value1, value2, "earnMoney");
            return (Criteria) this;
        }

        public Criteria andEarnMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("earn_money not between", value1, value2, "earnMoney");
            return (Criteria) this;
        }

        public Criteria andEarnClcikMoneyIsNull() {
            addCriterion("earn_clcik_money is null");
            return (Criteria) this;
        }

        public Criteria andEarnClcikMoneyIsNotNull() {
            addCriterion("earn_clcik_money is not null");
            return (Criteria) this;
        }

        public Criteria andEarnClcikMoneyEqualTo(BigDecimal value) {
            addCriterion("earn_clcik_money =", value, "earnClcikMoney");
            return (Criteria) this;
        }

        public Criteria andEarnClcikMoneyNotEqualTo(BigDecimal value) {
            addCriterion("earn_clcik_money <>", value, "earnClcikMoney");
            return (Criteria) this;
        }

        public Criteria andEarnClcikMoneyGreaterThan(BigDecimal value) {
            addCriterion("earn_clcik_money >", value, "earnClcikMoney");
            return (Criteria) this;
        }

        public Criteria andEarnClcikMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("earn_clcik_money >=", value, "earnClcikMoney");
            return (Criteria) this;
        }

        public Criteria andEarnClcikMoneyLessThan(BigDecimal value) {
            addCriterion("earn_clcik_money <", value, "earnClcikMoney");
            return (Criteria) this;
        }

        public Criteria andEarnClcikMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("earn_clcik_money <=", value, "earnClcikMoney");
            return (Criteria) this;
        }

        public Criteria andEarnClcikMoneyIn(List<BigDecimal> values) {
            addCriterion("earn_clcik_money in", values, "earnClcikMoney");
            return (Criteria) this;
        }

        public Criteria andEarnClcikMoneyNotIn(List<BigDecimal> values) {
            addCriterion("earn_clcik_money not in", values, "earnClcikMoney");
            return (Criteria) this;
        }

        public Criteria andEarnClcikMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("earn_clcik_money between", value1, value2, "earnClcikMoney");
            return (Criteria) this;
        }

        public Criteria andEarnClcikMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("earn_clcik_money not between", value1, value2, "earnClcikMoney");
            return (Criteria) this;
        }

        public Criteria andMasterMoneyIsNull() {
            addCriterion("master_money is null");
            return (Criteria) this;
        }

        public Criteria andMasterMoneyIsNotNull() {
            addCriterion("master_money is not null");
            return (Criteria) this;
        }

        public Criteria andMasterMoneyEqualTo(BigDecimal value) {
            addCriterion("master_money =", value, "masterMoney");
            return (Criteria) this;
        }

        public Criteria andMasterMoneyNotEqualTo(BigDecimal value) {
            addCriterion("master_money <>", value, "masterMoney");
            return (Criteria) this;
        }

        public Criteria andMasterMoneyGreaterThan(BigDecimal value) {
            addCriterion("master_money >", value, "masterMoney");
            return (Criteria) this;
        }

        public Criteria andMasterMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("master_money >=", value, "masterMoney");
            return (Criteria) this;
        }

        public Criteria andMasterMoneyLessThan(BigDecimal value) {
            addCriterion("master_money <", value, "masterMoney");
            return (Criteria) this;
        }

        public Criteria andMasterMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("master_money <=", value, "masterMoney");
            return (Criteria) this;
        }

        public Criteria andMasterMoneyIn(List<BigDecimal> values) {
            addCriterion("master_money in", values, "masterMoney");
            return (Criteria) this;
        }

        public Criteria andMasterMoneyNotIn(List<BigDecimal> values) {
            addCriterion("master_money not in", values, "masterMoney");
            return (Criteria) this;
        }

        public Criteria andMasterMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("master_money between", value1, value2, "masterMoney");
            return (Criteria) this;
        }

        public Criteria andMasterMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("master_money not between", value1, value2, "masterMoney");
            return (Criteria) this;
        }

        public Criteria andLuckdawMoneyIsNull() {
            addCriterion("luckdaw_money is null");
            return (Criteria) this;
        }

        public Criteria andLuckdawMoneyIsNotNull() {
            addCriterion("luckdaw_money is not null");
            return (Criteria) this;
        }

        public Criteria andLuckdawMoneyEqualTo(BigDecimal value) {
            addCriterion("luckdaw_money =", value, "luckdawMoney");
            return (Criteria) this;
        }

        public Criteria andLuckdawMoneyNotEqualTo(BigDecimal value) {
            addCriterion("luckdaw_money <>", value, "luckdawMoney");
            return (Criteria) this;
        }

        public Criteria andLuckdawMoneyGreaterThan(BigDecimal value) {
            addCriterion("luckdaw_money >", value, "luckdawMoney");
            return (Criteria) this;
        }

        public Criteria andLuckdawMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("luckdaw_money >=", value, "luckdawMoney");
            return (Criteria) this;
        }

        public Criteria andLuckdawMoneyLessThan(BigDecimal value) {
            addCriterion("luckdaw_money <", value, "luckdawMoney");
            return (Criteria) this;
        }

        public Criteria andLuckdawMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("luckdaw_money <=", value, "luckdawMoney");
            return (Criteria) this;
        }

        public Criteria andLuckdawMoneyIn(List<BigDecimal> values) {
            addCriterion("luckdaw_money in", values, "luckdawMoney");
            return (Criteria) this;
        }

        public Criteria andLuckdawMoneyNotIn(List<BigDecimal> values) {
            addCriterion("luckdaw_money not in", values, "luckdawMoney");
            return (Criteria) this;
        }

        public Criteria andLuckdawMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("luckdaw_money between", value1, value2, "luckdawMoney");
            return (Criteria) this;
        }

        public Criteria andLuckdawMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("luckdaw_money not between", value1, value2, "luckdawMoney");
            return (Criteria) this;
        }

        public Criteria andVideoMoneyIsNull() {
            addCriterion("video_money is null");
            return (Criteria) this;
        }

        public Criteria andVideoMoneyIsNotNull() {
            addCriterion("video_money is not null");
            return (Criteria) this;
        }

        public Criteria andVideoMoneyEqualTo(BigDecimal value) {
            addCriterion("video_money =", value, "videoMoney");
            return (Criteria) this;
        }

        public Criteria andVideoMoneyNotEqualTo(BigDecimal value) {
            addCriterion("video_money <>", value, "videoMoney");
            return (Criteria) this;
        }

        public Criteria andVideoMoneyGreaterThan(BigDecimal value) {
            addCriterion("video_money >", value, "videoMoney");
            return (Criteria) this;
        }

        public Criteria andVideoMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("video_money >=", value, "videoMoney");
            return (Criteria) this;
        }

        public Criteria andVideoMoneyLessThan(BigDecimal value) {
            addCriterion("video_money <", value, "videoMoney");
            return (Criteria) this;
        }

        public Criteria andVideoMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("video_money <=", value, "videoMoney");
            return (Criteria) this;
        }

        public Criteria andVideoMoneyIn(List<BigDecimal> values) {
            addCriterion("video_money in", values, "videoMoney");
            return (Criteria) this;
        }

        public Criteria andVideoMoneyNotIn(List<BigDecimal> values) {
            addCriterion("video_money not in", values, "videoMoney");
            return (Criteria) this;
        }

        public Criteria andVideoMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("video_money between", value1, value2, "videoMoney");
            return (Criteria) this;
        }

        public Criteria andVideoMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("video_money not between", value1, value2, "videoMoney");
            return (Criteria) this;
        }

        public Criteria andXianwanMoneyIsNull() {
            addCriterion("xianwan_money is null");
            return (Criteria) this;
        }

        public Criteria andXianwanMoneyIsNotNull() {
            addCriterion("xianwan_money is not null");
            return (Criteria) this;
        }

        public Criteria andXianwanMoneyEqualTo(BigDecimal value) {
            addCriterion("xianwan_money =", value, "xianwanMoney");
            return (Criteria) this;
        }

        public Criteria andXianwanMoneyNotEqualTo(BigDecimal value) {
            addCriterion("xianwan_money <>", value, "xianwanMoney");
            return (Criteria) this;
        }

        public Criteria andXianwanMoneyGreaterThan(BigDecimal value) {
            addCriterion("xianwan_money >", value, "xianwanMoney");
            return (Criteria) this;
        }

        public Criteria andXianwanMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("xianwan_money >=", value, "xianwanMoney");
            return (Criteria) this;
        }

        public Criteria andXianwanMoneyLessThan(BigDecimal value) {
            addCriterion("xianwan_money <", value, "xianwanMoney");
            return (Criteria) this;
        }

        public Criteria andXianwanMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("xianwan_money <=", value, "xianwanMoney");
            return (Criteria) this;
        }

        public Criteria andXianwanMoneyIn(List<BigDecimal> values) {
            addCriterion("xianwan_money in", values, "xianwanMoney");
            return (Criteria) this;
        }

        public Criteria andXianwanMoneyNotIn(List<BigDecimal> values) {
            addCriterion("xianwan_money not in", values, "xianwanMoney");
            return (Criteria) this;
        }

        public Criteria andXianwanMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("xianwan_money between", value1, value2, "xianwanMoney");
            return (Criteria) this;
        }

        public Criteria andXianwanMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("xianwan_money not between", value1, value2, "xianwanMoney");
            return (Criteria) this;
        }

        public Criteria andTaojinMoneyIsNull() {
            addCriterion("taojin_money is null");
            return (Criteria) this;
        }

        public Criteria andTaojinMoneyIsNotNull() {
            addCriterion("taojin_money is not null");
            return (Criteria) this;
        }

        public Criteria andTaojinMoneyEqualTo(BigDecimal value) {
            addCriterion("taojin_money =", value, "taojinMoney");
            return (Criteria) this;
        }

        public Criteria andTaojinMoneyNotEqualTo(BigDecimal value) {
            addCriterion("taojin_money <>", value, "taojinMoney");
            return (Criteria) this;
        }

        public Criteria andTaojinMoneyGreaterThan(BigDecimal value) {
            addCriterion("taojin_money >", value, "taojinMoney");
            return (Criteria) this;
        }

        public Criteria andTaojinMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("taojin_money >=", value, "taojinMoney");
            return (Criteria) this;
        }

        public Criteria andTaojinMoneyLessThan(BigDecimal value) {
            addCriterion("taojin_money <", value, "taojinMoney");
            return (Criteria) this;
        }

        public Criteria andTaojinMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("taojin_money <=", value, "taojinMoney");
            return (Criteria) this;
        }

        public Criteria andTaojinMoneyIn(List<BigDecimal> values) {
            addCriterion("taojin_money in", values, "taojinMoney");
            return (Criteria) this;
        }

        public Criteria andTaojinMoneyNotIn(List<BigDecimal> values) {
            addCriterion("taojin_money not in", values, "taojinMoney");
            return (Criteria) this;
        }

        public Criteria andTaojinMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("taojin_money between", value1, value2, "taojinMoney");
            return (Criteria) this;
        }

        public Criteria andTaojinMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("taojin_money not between", value1, value2, "taojinMoney");
            return (Criteria) this;
        }

        public Criteria andJuxiangwanMoneyIsNull() {
            addCriterion("juxiangwan_money is null");
            return (Criteria) this;
        }

        public Criteria andJuxiangwanMoneyIsNotNull() {
            addCriterion("juxiangwan_money is not null");
            return (Criteria) this;
        }

        public Criteria andJuxiangwanMoneyEqualTo(BigDecimal value) {
            addCriterion("juxiangwan_money =", value, "juxiangwanMoney");
            return (Criteria) this;
        }

        public Criteria andJuxiangwanMoneyNotEqualTo(BigDecimal value) {
            addCriterion("juxiangwan_money <>", value, "juxiangwanMoney");
            return (Criteria) this;
        }

        public Criteria andJuxiangwanMoneyGreaterThan(BigDecimal value) {
            addCriterion("juxiangwan_money >", value, "juxiangwanMoney");
            return (Criteria) this;
        }

        public Criteria andJuxiangwanMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("juxiangwan_money >=", value, "juxiangwanMoney");
            return (Criteria) this;
        }

        public Criteria andJuxiangwanMoneyLessThan(BigDecimal value) {
            addCriterion("juxiangwan_money <", value, "juxiangwanMoney");
            return (Criteria) this;
        }

        public Criteria andJuxiangwanMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("juxiangwan_money <=", value, "juxiangwanMoney");
            return (Criteria) this;
        }

        public Criteria andJuxiangwanMoneyIn(List<BigDecimal> values) {
            addCriterion("juxiangwan_money in", values, "juxiangwanMoney");
            return (Criteria) this;
        }

        public Criteria andJuxiangwanMoneyNotIn(List<BigDecimal> values) {
            addCriterion("juxiangwan_money not in", values, "juxiangwanMoney");
            return (Criteria) this;
        }

        public Criteria andJuxiangwanMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("juxiangwan_money between", value1, value2, "juxiangwanMoney");
            return (Criteria) this;
        }

        public Criteria andJuxiangwanMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("juxiangwan_money not between", value1, value2, "juxiangwanMoney");
            return (Criteria) this;
        }

        public Criteria andDuoyouMoneyIsNull() {
            addCriterion("duoyou_money is null");
            return (Criteria) this;
        }

        public Criteria andDuoyouMoneyIsNotNull() {
            addCriterion("duoyou_money is not null");
            return (Criteria) this;
        }

        public Criteria andDuoyouMoneyEqualTo(BigDecimal value) {
            addCriterion("duoyou_money =", value, "duoyouMoney");
            return (Criteria) this;
        }

        public Criteria andDuoyouMoneyNotEqualTo(BigDecimal value) {
            addCriterion("duoyou_money <>", value, "duoyouMoney");
            return (Criteria) this;
        }

        public Criteria andDuoyouMoneyGreaterThan(BigDecimal value) {
            addCriterion("duoyou_money >", value, "duoyouMoney");
            return (Criteria) this;
        }

        public Criteria andDuoyouMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("duoyou_money >=", value, "duoyouMoney");
            return (Criteria) this;
        }

        public Criteria andDuoyouMoneyLessThan(BigDecimal value) {
            addCriterion("duoyou_money <", value, "duoyouMoney");
            return (Criteria) this;
        }

        public Criteria andDuoyouMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("duoyou_money <=", value, "duoyouMoney");
            return (Criteria) this;
        }

        public Criteria andDuoyouMoneyIn(List<BigDecimal> values) {
            addCriterion("duoyou_money in", values, "duoyouMoney");
            return (Criteria) this;
        }

        public Criteria andDuoyouMoneyNotIn(List<BigDecimal> values) {
            addCriterion("duoyou_money not in", values, "duoyouMoney");
            return (Criteria) this;
        }

        public Criteria andDuoyouMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("duoyou_money between", value1, value2, "duoyouMoney");
            return (Criteria) this;
        }

        public Criteria andDuoyouMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("duoyou_money not between", value1, value2, "duoyouMoney");
            return (Criteria) this;
        }

        public Criteria andAotianMoneyIsNull() {
            addCriterion("aotian_money is null");
            return (Criteria) this;
        }

        public Criteria andAotianMoneyIsNotNull() {
            addCriterion("aotian_money is not null");
            return (Criteria) this;
        }

        public Criteria andAotianMoneyEqualTo(BigDecimal value) {
            addCriterion("aotian_money =", value, "aotianMoney");
            return (Criteria) this;
        }

        public Criteria andAotianMoneyNotEqualTo(BigDecimal value) {
            addCriterion("aotian_money <>", value, "aotianMoney");
            return (Criteria) this;
        }

        public Criteria andAotianMoneyGreaterThan(BigDecimal value) {
            addCriterion("aotian_money >", value, "aotianMoney");
            return (Criteria) this;
        }

        public Criteria andAotianMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("aotian_money >=", value, "aotianMoney");
            return (Criteria) this;
        }

        public Criteria andAotianMoneyLessThan(BigDecimal value) {
            addCriterion("aotian_money <", value, "aotianMoney");
            return (Criteria) this;
        }

        public Criteria andAotianMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("aotian_money <=", value, "aotianMoney");
            return (Criteria) this;
        }

        public Criteria andAotianMoneyIn(List<BigDecimal> values) {
            addCriterion("aotian_money in", values, "aotianMoney");
            return (Criteria) this;
        }

        public Criteria andAotianMoneyNotIn(List<BigDecimal> values) {
            addCriterion("aotian_money not in", values, "aotianMoney");
            return (Criteria) this;
        }

        public Criteria andAotianMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("aotian_money between", value1, value2, "aotianMoney");
            return (Criteria) this;
        }

        public Criteria andAotianMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("aotian_money not between", value1, value2, "aotianMoney");
            return (Criteria) this;
        }

        public Criteria andPceggMoneyIsNull() {
            addCriterion("pcegg_money is null");
            return (Criteria) this;
        }

        public Criteria andPceggMoneyIsNotNull() {
            addCriterion("pcegg_money is not null");
            return (Criteria) this;
        }

        public Criteria andPceggMoneyEqualTo(BigDecimal value) {
            addCriterion("pcegg_money =", value, "pceggMoney");
            return (Criteria) this;
        }

        public Criteria andPceggMoneyNotEqualTo(BigDecimal value) {
            addCriterion("pcegg_money <>", value, "pceggMoney");
            return (Criteria) this;
        }

        public Criteria andPceggMoneyGreaterThan(BigDecimal value) {
            addCriterion("pcegg_money >", value, "pceggMoney");
            return (Criteria) this;
        }

        public Criteria andPceggMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("pcegg_money >=", value, "pceggMoney");
            return (Criteria) this;
        }

        public Criteria andPceggMoneyLessThan(BigDecimal value) {
            addCriterion("pcegg_money <", value, "pceggMoney");
            return (Criteria) this;
        }

        public Criteria andPceggMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("pcegg_money <=", value, "pceggMoney");
            return (Criteria) this;
        }

        public Criteria andPceggMoneyIn(List<BigDecimal> values) {
            addCriterion("pcegg_money in", values, "pceggMoney");
            return (Criteria) this;
        }

        public Criteria andPceggMoneyNotIn(List<BigDecimal> values) {
            addCriterion("pcegg_money not in", values, "pceggMoney");
            return (Criteria) this;
        }

        public Criteria andPceggMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pcegg_money between", value1, value2, "pceggMoney");
            return (Criteria) this;
        }

        public Criteria andPceggMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pcegg_money not between", value1, value2, "pceggMoney");
            return (Criteria) this;
        }

        public Criteria andYwhzMoneyIsNull() {
            addCriterion("ywhz_money is null");
            return (Criteria) this;
        }

        public Criteria andYwhzMoneyIsNotNull() {
            addCriterion("ywhz_money is not null");
            return (Criteria) this;
        }

        public Criteria andYwhzMoneyEqualTo(BigDecimal value) {
            addCriterion("ywhz_money =", value, "ywhzMoney");
            return (Criteria) this;
        }

        public Criteria andYwhzMoneyNotEqualTo(BigDecimal value) {
            addCriterion("ywhz_money <>", value, "ywhzMoney");
            return (Criteria) this;
        }

        public Criteria andYwhzMoneyGreaterThan(BigDecimal value) {
            addCriterion("ywhz_money >", value, "ywhzMoney");
            return (Criteria) this;
        }

        public Criteria andYwhzMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ywhz_money >=", value, "ywhzMoney");
            return (Criteria) this;
        }

        public Criteria andYwhzMoneyLessThan(BigDecimal value) {
            addCriterion("ywhz_money <", value, "ywhzMoney");
            return (Criteria) this;
        }

        public Criteria andYwhzMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ywhz_money <=", value, "ywhzMoney");
            return (Criteria) this;
        }

        public Criteria andYwhzMoneyIn(List<BigDecimal> values) {
            addCriterion("ywhz_money in", values, "ywhzMoney");
            return (Criteria) this;
        }

        public Criteria andYwhzMoneyNotIn(List<BigDecimal> values) {
            addCriterion("ywhz_money not in", values, "ywhzMoney");
            return (Criteria) this;
        }

        public Criteria andYwhzMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ywhz_money between", value1, value2, "ywhzMoney");
            return (Criteria) this;
        }

        public Criteria andYwhzMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ywhz_money not between", value1, value2, "ywhzMoney");
            return (Criteria) this;
        }

        public Criteria andAppIdIsNull() {
            addCriterion("app_id is null");
            return (Criteria) this;
        }

        public Criteria andAppIdIsNotNull() {
            addCriterion("app_id is not null");
            return (Criteria) this;
        }

        public Criteria andAppIdEqualTo(Integer value) {
            addCriterion("app_id =", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdNotEqualTo(Integer value) {
            addCriterion("app_id <>", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdGreaterThan(Integer value) {
            addCriterion("app_id >", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("app_id >=", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdLessThan(Integer value) {
            addCriterion("app_id <", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdLessThanOrEqualTo(Integer value) {
            addCriterion("app_id <=", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdIn(List<Integer> values) {
            addCriterion("app_id in", values, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdNotIn(List<Integer> values) {
            addCriterion("app_id not in", values, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdBetween(Integer value1, Integer value2) {
            addCriterion("app_id between", value1, value2, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdNotBetween(Integer value1, Integer value2) {
            addCriterion("app_id not between", value1, value2, "appId");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}